﻿package com.uprr.app.tnm.test
{
    import com.uprr.app.tnm.delegate.ItemFactory;
    import com.uprr.app.tnm.delegate.IItemFactory;
    
    import net.digitalprimates.fluint.tests.TestCase;

    public class ItemFactoryTest extends TestCase
    {
        public function ItemFactoryTest()
        {
            super();
        }
        
        public function testItemFactory() : void
        {
            const row : IItemFactory = new ItemFactory();
            const obj : Object = row.createItem( "hello", "world" );
            assertEquals( "hello", obj.col1 );
            assertEquals( "world", obj.col2 );
        }
        
    }
}